package com.calligraphy.order.message;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @Author hy
 * @Date 2019/1/12 14:32
 **/
@Component
@Slf4j
public class ProductInfoReceiver {


/*    @RabbitListener(bindings = @QueueBinding(
            key = "myKey",
            exchange = @Exchange("myOrder"),
            value = @Queue("productInfo")
    ))
    public void process(String msg){
        ProductInfoOutput productInfoOutput = GsonImpl.get().toObject(msg,ProductInfoOutput.class);
        log.info("【msg={}】"+productInfoOutput);
    }*/


}
